FROM python:3.7
MAINTAINER ioriiod0@gmail.com

#-i http://pypi.douban.com/simple/ --trusted-host=pypi.douban.com
RUN pip3 install numpy
RUN pip3 install aiohttp
RUN pip3 install sanic
RUN pip3 install schema

ADD . /marathon
RUN cd /marathon && python setup.py install
WORKDIR /marathon

CMD ["python","bin/run_server.py"]
